import { ApiModel, ApiModelProperty } from 'swagger-express-ts'

@ApiModel({
  description: 'VersionModel description',
  name: 'VersionModel'
})
export class VersionModel {
  @ApiModelProperty({
    description: 'Id of version',
    required: true,
    example: ['123456789']
  })
  public id: number = 0

  @ApiModelProperty({
    description: '',
    required: true
  })
  public name: string = ''

  @ApiModelProperty({
    description: 'Description of version',
    required: true
  })
  public description: string = ''
}
